package com.example.block_chain.domain.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("a_no")
    private String aNo;

    @TableField("authority")
    private String authority;

    @TableField("faculty_code")
    private String facultyCode;

    @TableField("school_code")
    private String schoolCode;

    @TableField("a_name")
    private String aName;

    @TableField("a_address")
    private String aAddress;

    private String password;

    @TableField("a_ID")
    private String aID;

    @TableField("a_sex")
    private String aSex;
}
